package com.fuxin.app.amqp;

import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

/**
 * @Author fuxin
 * @date 2019/2/27 20:50
 * @description
 */
@Component
public class MQReceiver {

	@RabbitListener(queues = "fx_spring_boot_mq")
	public void process(String msg){
		System.out.println("Receiver:fx_spring_boot_mq" + msg);

	}
}
